documentTemplateMethods{
  snippet="template";
  final Neo4jTemplate neo=new Neo4jTemplate(graphDatabase);
  Node mark=neo.createNode(map("name","Mark"));
  Node thomas=neo.createNode(map("name","Thomas"));
  neo.index("devs",thomas,"name","Thomas");
  assertEquals("Mark",neo.query("start p=node({person}) match p<-[:WORKS_WITH]-other return other.name",map("person",asList(thomas.getId()))).to(String.class).single());
  String thisShouldNotBePartOfTheSnippet;
    public String convert(    PropertyContainer element,    Class<String> type){
      return (String)element.getProperty("name");
}
convert{
  return (String)element.getProperty("name");
}
